﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SmartApi.Annotations
{
    [AttributeUsage(AttributeTargets.Parameter)]
    public class BodyAttribute : ParamAttribute
    {

    }

    public enum BodySerializationMethod
    {
        /// <summary>
        /// JSON encodes data except for strings. Strings are set as-is
        /// </summary>
        Default,

        /// <summary>
        /// Json encodes everything, including strings
        /// </summary>
        Json,

        /// <summary>
        /// Form-UrlEncode's the values
        /// </summary>
        UrlEncoded
    }
}
